Enter a type and click search.




Results for Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ValueHandlerPool

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\VaultFacade"
             type="Magento\Vault\Model\Method\Vault">
    <arguments>
        <argument name="config" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\Config
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ValueHandlerPool
        </argument>
        <argument name="vaultProvider" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Facade
        </argument>
        <argument name="code" xsi:type="string">
            fake_vault
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\TestModuleFakePaymentMethod\Gateway\VaultFacade object that it should return a Magento\Vault\Model\Method\Vault object.

This configuration tells the Object Manager that when a user wants a Magento\TestModuleFakePaymentMethod\Gateway\VaultFacade object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ValueHandlerPool"
             type="VaultPaymentValueHandlerPool">
    <arguments>
        <argument name="handlers" xsi:type="array">
            <item name="default" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ConfigValueHandler
            </item>
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ValueHandlerPool object that it should return a VaultPaymentValueHandlerPool object.

This configuration tells the Object Manager that when a user wants a Magento\TestModuleFakePaymentMethod\Gateway\Config\Vault\ValueHandlerPool object that the following arguments should be used in the foo object's constructor.

  • $handlers = [...items...];